package com.whz.crypt.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 注解在RequestMapping方法上
 * <p>
 * 需要对request的数据进行rsa加密,必须与{@link org.springframework.web.bind.annotation.RequestBody}连用
 * </p>
 *
 * @author whz
 */
@Target({ ElementType.PARAMETER })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequestDecrypt {
}